package com.czz.portal.config;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class AlipayConfig {

	// 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
	public static String app_id = "2016102100730378";
	
	// 商户私钥，您的PKCS8格式RSA2私钥
	public static String merchant_private_key = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC0gWCHogPJTF97wRCJtPsLtl0Cu1BPd8zKSmNQ99EAwoeZZxW0MI/DXdTMe+KBOqs/a21GLo4EvpgLNpw9fktp6f4fbO4TYywlMZ19nka0TZU6bfUvlLR1ZC7aITyQtPj2wAcamGldR9I7Tmp09GrgR4QLsi4dIzthSwRTt90IpsfZbtOkHY4JQhOS5mLFhpiOrqOAX8LrStIZXC1jF/9dLQVu77EpC4y47WaBceCmjz9Bya3JZAYRGrdjpa2LoQrufBZU2POQQiv4xUJjAfZ20+ZgMFAqVFvhKhPPlGVb7gGWxWlO3W1EUNtX95m/xgsn9+oK6+aLUZaT+g00uy7NAgMBAAECggEBAIGEE28+oNjfI+P4M5WbdkaBI1vCa22Z2CeOGJUQO7b/3awEe14/OehEe1v9yBhRsG5g9pdU8DIXT6E8Hf9Bj3r/moeR8YGXtyU45HguCS12PY0fOL5bROC2caeyEXMDZ2AliPNcSL3VutMzAM/KUKV8qxJ5Vv0xOnolCYXId6CsUn20IMPiuUQCrY3xA6Bz83vthVoEGWpsmJAeBaD6qmMAedg5U9EP646C/1orKaI4Ur4SZ62uxojTY7XOtNU+JUD3g6IWbgOxI6d66LpknXZynDnlioWHSWN4jFK78vBLrcf8JHx8DuoXDBsSkc8YCUGkmW+TEzw/pKtamdMVG0ECgYEA+9VRliFyfy+WA1QFGEqjy9cUrXLEHAdl4WsB2+YQSZrfC9rjS5dnf9wKkdQmB6flxs8XEw+XnHbnM5uOlEahVOcP4/N0b57yKNbAIoWL447TgFU/mcpPeIAD9VsIrpmy6eM88xEgncxhgPae4vcSfvs11uuTAhaPzG+G/w5Swy8CgYEAt33v9EyOrW5LXnZJSP3DPxYEZVTlJj62JhgP0A5+MoFaRhiEXHQXkbSm09JCKIkPcVuWQ57vZ9Gh+2m+Mblw+g/5+lHrnSXXVSNr6BbgpZ32XfYGjTOWApdniRjHnGLyMlXXfB4HT03rDRtoq8y93hZiSV2lWtWwRtDrlGP/HsMCgYAa3hdmPQtKJnmKwVwJy2zOQpQiLSxfESr9cb0xCMqUD8HcMe4uEmkoawF1rXyhNHh/TXjYv8EdIFJqXx5HE4IC3OQFHeQ+RGbxlHfLNxRFoudNucqfTcZMxNunQZ8bgapk6amHBTzFmRiN+cHZ1SJUCdkkpN16S43r8bolXBHYYQKBgQCfHpb3Q2x2+S5ivDDRGz41duJY/UW55KgQYM1VnzvQkFu4bYpaolHOCNqi1bKJdFHv+3xTJ4B0h1Xwr8I/XJCcST591Ix9ulMBgbYRjcVB2bnLwY3s5M8xcBpYySRQeX2OKOK0v1WXb/plY19hnCsKbF7PQGYkXyp+Pq4MAKs8AQKBgFW07G3qgxQRGevbE4PEmPj4AOshcdEz1+W5jFMYi1nheHEbOSmBA4zHzR5FO4mte/lQdsYw1R2WWa5TeUK/wTW2nCeN5/FsZgaBj891Ol3efCXhmjqiKMaYAysMU7V/X+QUSnALXeTQyT+8By2FrWhx/hWDgsSIJ4dEadEc6S06";
	
	// 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
	public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA9An1z2csF+8cGE6VP3/f9gmif7Uydz1BtD+BFyysDe3ePx9ni7yrDF26TW4ze0UwVVEw1Sfffm1wGdHfZdfivZnDdI31zYk4LmE4r82nlzgqvpqlp2bJSA9HUA6JgL1lyoo6ijwDZ/KFuMhqwRYWZk2BzFVKe+mxfYOPQ3tZC1WLY2jsxcEvF6+9cE/GxIEy+Vo021hijAyHgmCl6f+0mnUffi51NptSdOQ4/Cewruj1kGAreX1q5IGjgG+2GV/HQvnLB5un/IdtEvZnXmsUNx5TS8w6NOADzX0a/NpzVLyU/oFswpCO8VEG7O/uYM1XzR1Rr4oGVR86DCyn5MYZ1QIDAQAB";

	// 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String notify_url = "http://education.free.idcfengye.com/portal/pay/notify_url";

	// 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String return_url = "http://education.free.idcfengye.com/portal/pay/return_url";

	// 签名方式
	public static String sign_type = "RSA2";
	
	// 字符编码格式
	public static String charset = "utf-8";

	// 返回格式
	public static String format = "json";

	// 支付宝网关
	public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

}

